//
//  CollectionCell.m
//  ProjectA_ManualGuest
//
//  Created by dingcong on 16/6/29.
//  Copyright © 2016年 丁聪. All rights reserved.
//

#import "CollectionCell.h"
#import "Masonry.h"
@implementation CollectionCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        [self creat];
    }
    
    return self;
    
    
}

- (void)creat{
    
    self.BigImg = [[UIImageView alloc]init];
    
    self.BigImg.backgroundColor = [UIColor redColor];
    
    [self.contentView addSubview:self.BigImg];
    
    [self.BigImg mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.contentView.mas_top).offset(0);
        make.leading.equalTo(self.contentView.mas_leading).offset(0);
        make.width.equalTo(self);
        make.height.equalTo(self);
    }];
    
    
    
    
}



@end
